package com.huluobo.h3kotlinproject.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.huluobo.h3kotlinproject.db.entity.Money
import com.huluobo.h3kotlinproject.db.entity.UserInfo

/**
 *  Created by LC on 2023/10/20.
 */
@Database(entities = [UserInfo::class,Money::class], version = 2, exportSchema = false)
abstract class AppDatabase : RoomDatabase() {
    abstract fun userInfoDao(): UserInfoDao
    abstract fun moneyDao(): MoneyDao
}